import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/views/home/Index'
import Detail from '@/views/home/Detail'

Vue.use(Router)

export default new Router({
	mode: 'history',
	routes: [{
			path: '/',
			name: 'Index',
			component: Index
		},
		{
			path: '/detail',
			name: 'Detail',
			component: Detail
		},
	]
})